import java.util.ArrayList;


public class DocumentEntity {

	
	private ArrayList<String> classList;
	private String title;
	private int id;
	private String body;
			
	public DocumentEntity(){
		
	}
	
/*	public DocumentEntity(ArrayList<String> topic, ArrayList<String> place, ArrayList<String> people, ArrayList<String> org, ArrayList<String> exchange,ArrayList<String> title, ArrayList<String> dTag, String body,  int id) {
		
		
		this.topicList = topic;
		this.placeList = place;
		this.peopleList  = people;
		this.orgList = org;
		this.exchangeList = exchange;
		this.title = title;
		this.dTagList = dTag;
		this.body = body;
		this.id = id;
		
	}
	*/
	public DocumentEntity(ArrayList<String> classList,String title, String body,  int id) {
		this.classList = classList;
		this.title = title;
		this.body = body;
		this.id = id;
		
	}
	
	public void setClass(ArrayList<String> className) {
		this.classList = classList;
	}	
	
	public ArrayList<String> getClassList() {
		return classList;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}	
	
	public String getTitle() {
		return title;
	}
	
	public void setID(int id) {
		
		this.id = id;
		
	}
	
	public int getID() {
		return id;
	}
	
	public void setBody(String body) {
		
		this.body = body;
		
	}
	
	public String getBody() {
		return body;
	}
	
		
	
	
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("Document Details - ");
		sb.append("Classes:" + getClassList());
		sb.append(", ");
		sb.append("Title:" + getTitle());
		sb.append(", ");
		sb.append("ID:" + getID());
		sb.append(", ");
		sb.append("Body:" + getBody());
		sb.append(".");
		
		return sb.toString();
	}
}
